<{include file="common/header.tpl"}>
<style>
.box { padding: 1em 2em; }
</style>

<div class="box">
	<div class="message">
	    <h3><{$message}></h3>
	</div>
	<div>
	    <h2>新增商铺管理员</h2>
		<form action="" method="post" name="frm" id="frm">
	        <p>
	            <label>账户</label>
	            <input type="text" name="passport" value="<{$user.passport}>">
	        </p>
            <{if ! $user.passport}>
	        <p>
	            <label>密码</label>
	            <input type="password" name="password" value="">
	        </p>
            <{/if}>
	        <p>
	            <label>姓名</label>
	            <input type="text" name="realName" value="<{$user.realName}>">
	        </p>
	        <p>
	            <label>手机</label>
	            <input type="text" name="mobile" value="<{$user.mobile}>">
	        </p>
	        <p>
	            <label>商铺</label>
	            <select name="shopId">
	                <{foreach from=$shopList item=shop}>
	                <option value="<{$shop.id}>"><{$shop.shopName}></option>
	                <{/foreach}>
	            </select>
	        </p>
	        <p>
	            <label>&nbsp;</label>
	            <input type="submit" name="submit" value="创建">
	        </p>
		</form>
	</div>
</div>

<{include file="common/footer.tpl"}>
